package cn.edu.scau.cmi.luodongmei.abstractFactory.factory;

import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PingAnDamageInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PingAnDeathInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PingAnInjuryInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PingAnMultiAccidentInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domainAbstractClass.TypeOfInsurance;

public class PingAnFactory extends AbstractFactory{
	@Override
	public TypeOfInsurance createInjuryInsurance() {
		return new PingAnInjuryInsurance();
	}
	@Override
	public TypeOfInsurance createDamageInsurance() {
		return new PingAnDamageInsurance();
	}
	@Override
	public TypeOfInsurance createDeathInsurance() {
		return new PingAnDeathInsurance();
	}
	@Override
	public TypeOfInsurance createMultiAccidentInsurance() {
		return new PingAnMultiAccidentInsurance();
	}
}
